Skip to main content

Reply to this post | Go Back
View Post [edit]

Poster: Nemo_bis Date: Nov 21, 2012 11:51pm
Forum: faqs Subject: IAS3BulkUploader or ias3upload.pl, dependencies and funny errors

Perhaps we can collect here some user advice for https://wiki.archive.org/twiki/bin/view/Main/IAS3BulkUploader . On some systems it's not as simple to run as on my machine.

Dependencies: if you get an error about missing LWP:UserAgent and so, try to install the package libwww-perl from your distribution.
Otherwise, there are more methods http://lwp.interglacial.com/ch01_03.htm (you'll most likely need to sudo for it).

If it complains about "ERROR:bad metadata name" in column 1, and fails, you probably have edited the metadata.csv with a spreadsheet editor and saved it in tab-separated values or other.
On LibreOffice, choose "Save as", select the checkbox "Change filter options" and then select comma as separator; save. Remember to check that values are still where they should be; and if you're using commas in the cells, it's probably better to force it to add quotes on all cells.

The funniest one I got was this: "Can't use an undefined value as a SCALAR reference", from http.pm if I remember correctly. Don't give up, just try again; it worked for me at second attempt.

This post was modified by Nemo_bis on 2012-11-22 07:51:09

Reply to this post
Reply [edit]

Poster: Nemo_bis Date: Dec 17, 2012 7:53am
Forum: faqs Subject: Re: IAS3BulkUploader or ias3upload.pl, dependencies and funny errors

"500 Can't use an undefined value as a SCALAR reference" sometimes happen if the file has illegal characters: in that case it will be rejected forever; however not all illegal characters are really prevented, so things can break later, e.g. in the derive process.

The other times, the upload of the file fails but the item is created, then the script retries to upload to the existing item and it works; maybe it's some problem in the metadata (which is used only the first time, for item creation, given that metadata can't be changed).
Perhaps it's because of some empty cells I have in some of the metadata columns?

Reply to this post
Reply [edit]

Poster: Nemo_bis Date: Apr 14, 2013 3:26pm
Forum: faqs Subject: Re: IAS3BulkUploader or ias3upload.pl, dependencies and funny errors

The SCALAR error is now happening to me even with files that should not be problematic at all. Perhaps due to a perl upgrade? I'm using 5.16.3 and this mentions some changes in 5.14+ http://www.perlmonks.org/?node_id=999824

Edit: looks like using the last version, found on https://github.com/kngenie/ias3upload/blob/master/ias3upload.pl , fixed it

This post was modified by Nemo_bis on 2013-04-14 22:26:08

Reply to this post
Reply [edit]

Poster: Jeff Kaplan Date: Apr 14, 2013 3:54pm
Forum: faqs Subject: Re: IAS3BulkUploader or ias3upload.pl, dependencies and funny errors

good to hear.

Reply to this post
Reply [edit]

Poster: Nemo_bis Date: Aug 10, 2013 2:19pm
Forum: faqs Subject: Re: IAS3BulkUploader or ias3upload.pl, dependencies and funny errors

Now it's happening again and it's because previous archive.php steps are failing, in this case due to no space left on device... https://archive.org/details/wikimediacommons-200712

Reply to this post
Reply [edit]

Poster: Jeff Kaplan Date: Aug 12, 2013 9:12am
Forum: faqs Subject: Re: IAS3BulkUploader or ias3upload.pl, dependencies and funny errors

all seems well now.

Reply to this post
Reply [edit]

Poster: aurariadigital Date: Sep 18, 2013 2:49pm
Forum: faqs Subject: Re: IAS3BulkUploader or ias3upload.pl, dependencies and funny errors

Has anyone had issues with this error?

500 read timeout
read timeout at /opt/local/lib/perl5/site_perl/5.12.4/Net/HTTP/Methods.pm line 257.

Reply to this post
Reply [edit]

Poster: srparsons Date: Mar 3, 2016 7:19am
Forum: faqs Subject: Re: IAS3BulkUploader or ias3upload.pl, dependencies and funny errors

I am having the same error now with the latest version of ias3upload.pl and with files that should not be problematic. I am using Perl 5.18.2. Is there anything I can do to work around this?